Repository navigation
♻️ extract Fen - #97
Conversation
- Add Fen::parse() and Fen::serialize(). They replace Chess::load() and the body of Chess::fen(). - Fen delegates validation to Validation, which stays public. - parse() places only the first king per color, matching the old put() behaviour. - Drop Chess::load() and Chess::clear(). The constructor builds its Position via Fen::parse(). - Test Fen directly: round trip over the FenTest provider, fields, extra kings, board reuse, errors.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
This is part 5 of #91
Summary by CodeRabbit